package com.neusoft.neuhealth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.neuhealth.domain.NursingRecord;

import java.util.List;

public interface NursingRecordMapper extends BaseMapper<NursingRecord> {
    List<NursingRecord> selectByCustomerId(Long customerId, Integer pageStart, Integer pageSize);

    Integer countByCustomerId(Long customerId);

    void removeById(Long recordId);

    void updateNursingRecordDelFlag(Long id);

    void updateNursingRecordDelFlagByUserId(Long aLong);

    Long countMonthCareCustomer(Long userId, String date);
}
